From ee3994f715a2f53519f1478d2f08c6548471a8ae Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Mon, 6 Mar 2017 15:34:38 +0100 Subject: [PATCH] Adwaita: border for selmode checkboxes - there was an extra border for selection mode --- gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 24 ++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 24 ++++++++++++++++-------- 3 files changed, 33 insertions(+), 16 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 36a3d26b07..b07ff8ebcf 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -2602,6 +2602,7 @@ switch { background-image: none; transition: none; box-shadow: none; + border-width: 0; } } diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index cb8f06b9e6..f1417594c6 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -2809,7 +2809,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:hover:not(list), iconview.content-view.check:hover:not(list), .content-view .tile check:hover:not(list) { @@ -2820,7 +2821,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:active:not(list), iconview.content-view.check:active:not(list), .content-view .tile check:active:not(list) { @@ -2831,7 +2833,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:backdrop:not(list), iconview.content-view.check:backdrop:not(list), .content-view .tile check:backdrop:not(list) { @@ -2842,7 +2845,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:checked:not(list), iconview.content-view.check:checked:not(list), .content-view .tile check:checked:not(list) { @@ -2853,7 +2857,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:checked:hover:not(list), iconview.content-view.check:checked:hover:not(list), .content-view .tile check:checked:hover:not(list) { @@ -2864,7 +2869,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:checked:active:not(list), iconview.content-view.check:checked:active:not(list), .content-view .tile check:checked:active:not(list) { @@ -2875,7 +2881,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:backdrop:checked:not(list), iconview.content-view.check:backdrop:checked:not(list), .content-view .tile check:backdrop:checked:not(list) { @@ -2886,7 +2893,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } checkbutton.text-button, radiobutton.text-button { padding: 2px 0; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 51447f86de..ab296d04a9 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -2836,7 +2836,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:hover:not(list), iconview.content-view.check:hover:not(list), .content-view .tile check:hover:not(list) { @@ -2847,7 +2848,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:active:not(list), iconview.content-view.check:active:not(list), .content-view .tile check:active:not(list) { @@ -2858,7 +2860,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:backdrop:not(list), iconview.content-view.check:backdrop:not(list), .content-view .tile check:backdrop:not(list) { @@ -2869,7 +2872,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:checked:not(list), iconview.content-view.check:checked:not(list), .content-view .tile check:checked:not(list) { @@ -2880,7 +2884,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:checked:hover:not(list), iconview.content-view.check:checked:hover:not(list), .content-view .tile check:checked:hover:not(list) { @@ -2891,7 +2896,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:checked:active:not(list), iconview.content-view.check:checked:active:not(list), .content-view .tile check:checked:active:not(list) { @@ -2902,7 +2908,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } .view.content-view.check:backdrop:checked:not(list), iconview.content-view.check:backdrop:checked:not(list), .content-view .tile check:backdrop:checked:not(list) { @@ -2913,7 +2920,8 @@ switch { min-height: 40px; background-image: none; transition: none; - box-shadow: none; } + box-shadow: none; + border-width: 0; } checkbutton.text-button, radiobutton.text-button { padding: 2px 0; -- 2.30.2